Skip to content

Bootcamp/Euclid (Frank Asket):Week 6 Exercise: ECOWAS price predictor (XOF, West Africa)#2071

Closed
frank-asket wants to merge 38 commits intoed-donner:mainfrom
frank-asket:week6-community-contributions
Closed

Bootcamp/Euclid (Frank Asket):Week 6 Exercise: ECOWAS price predictor (XOF, West Africa)#2071
frank-asket wants to merge 38 commits intoed-donner:mainfrom
frank-asket:week6-community-contributions

Conversation

@frank-asket
Copy link
Contributor

What: Self-contained Week 6 exercise — price predictor for West Africa (ECOWAS) with default currency XOF (West African CFA franc).

Features:

  • Single price: one LLM estimate in XOF for West Africa / UEMOA.
  • Cross-country: same product compared in Ghana (GHS), Nigeria (NGN), Côte d'Ivoire (XOF) with a clear table.
  • Evaluation: MAE and R² (XOF). Baselines + Gradio UI (two tabs).

Scope: One notebook only (community-contributions/asket/week6/week6_EXERCISE.ipynb). Outputs cleared per repo guidelines. No changes outside community-contributions.

Thanks for reviewing. @ranskills @ed-donner
Screenshot 2026-03-05 at 10 14 28 AM
Screenshot 2026-03-05 at 10 14 48 AM

frank-asket and others added 30 commits February 24, 2026 12:07
… in various notebooks and scripts to ensure consistency across community contributions.
…books, scripts, and configuration files for consistency across community contributions. Add install_deps.sh script for dependency management.
…EADME with deployment instructions. Modify execution counts and outputs in day1.ipynb for consistency and clarity.
… prefixes in various notebooks and scripts. Enhance error messages for clarity regarding API key requirements.
…y own course changes

Co-authored-by: Cursor <cursoragent@cursor.com>
…b.ipynb with detailed instructions for pulling latest code and submitting pull requests.
…d enhance markdown content for clarity. Removed outdated sections and improved formatting for better user experience.
- Replace placeholder in 'Before you continue' with working example
- suggest_subject(email_body) uses same summarization/API pattern as notebook
- Example: Q1 planning email -> suggested subject line via gpt-4.1-mini

Co-authored-by: Cursor <cursoragent@cursor.com>
- Introduced a working example in the exercise section to suggest a short email subject line from the email body.
- Implemented `suggest_subject(email_body)` using the existing API pattern for consistency.
- Ensured the example is minimal and aligns with the exercise's business use case.
All contributions under community-contributions/asket only (no changes to repo owner files).
- day1-email-subject-line.ipynb: summarization example, outputs cleared
- README: notes folder is asket's contributions

Co-authored-by: Cursor <cursoragent@cursor.com>
…ercise

- Enhanced the notebook to support both OPENROUTER_API_KEY and OPENAI_API_KEY for flexibility.
- Updated README to clarify that the folder contains only asket's contributions.

No changes made outside the community-contributions/asket directory.
- Introduced a checklist to guide contributors on best practices before submitting pull requests, ensuring adherence to repository guidelines.
- Created a README.md file to clarify that contributions should be limited to the 'asket' folder and direct users to the checklist for submission requirements.
…s Agentic AI solution. Included setup instructions, troubleshooting tips, and guidance for using Jupyter Notebooks effectively. Enhanced user engagement with markdown content and visuals to support learning.
…l. This notebook demonstrates the use of the OpenAI API and Ollama, featuring code explanations and a structured approach to querying Python code. Enhanced user engagement with detailed markdown content and example usage for clarity.
…e response cleaning by removing code-fence wrappers from text. This improves the clarity of the output generated by the OpenAI API during streaming responses.
…uding Day 2 (Chat Completions API), Day 4 (Tokenizing with tiktoken), and Day 5 (Company brochure builder). Each notebook features enhanced markdown content, API key validation, and structured prompts for LLM interactions. Updated requirements for Day 2 and included troubleshooting guidance for API setup.
…int statements. Added logging for the URL being processed and the number of relevant links found, improving traceability during execution.
…s for Days 1 to 5 and an exercise. Each notebook features enhanced markdown content, API key validation, and structured prompts for LLM interactions. Introduced a GUIDES_CHECKLIST.md for contributors and a README.md to clarify submission guidelines. Updated requirements for Day 2 and included troubleshooting guidance for API setup.
…ng API key setup instructions, and adding optional key configuration guidance. Updated visuals and reminders for users to check for the latest code, ensuring a better learning experience.
…ebsite content fetching, integration of BeautifulSoup for HTML parsing, and a script to run critical path checks without Gradio. Updated requirements to include BeautifulSoup and improved API key handling in the notebook.
- week1_EXERCISE.ipynb: Part 1 GPT/OpenRouter streaming Q&A, Part 2 Ollama bilingual (EN/Guéré) summarizer
- PR_WEEK1_EXERCISE.md: PR description for reviewers
- README.md: brief folder intro
- No other week1/day notebooks or week2; single-notebook submission per review feedback

Made-with: Cursor
…tegration

- Introduced a new Jupyter notebook (week2_EXERCISE.ipynb) featuring a complete prototype for a technical Q&A assistant.
- Implemented Gradio UI, model switching between OpenRouter GPT and Ollama Llama, and a tool for retrieving the current time.
- Defined system prompts for various expertise personas and included a function for handling tool calls.
- week1_EXERCISE.ipynb: Part 1 GPT/OpenRouter streaming Q&A, Part 2 Ollama bilingual (EN/Guéré) summarizer
- PR_WEEK1_EXERCISE.md, README.md

Made-with: Cursor
…sonas, tool

- week2_EXERCISE.ipynb: Gradio UI, model switch (OpenRouter GPT / Ollama), personas, get_current_time tool
- PR_WEEK2_EXERCISE.md

Made-with: Cursor
- week1_EXERCISE.ipynb: Part 1 GPT/OpenRouter streaming Q&A, Part 2 Ollama bilingual (EN/Guéré) summarizer
- PR_WEEK1_EXERCISE.md, README.md

Made-with: Cursor
…sonas, tool

- week2_EXERCISE.ipynb: Gradio UI, model switch (OpenRouter GPT / Ollama), personas, get_current_time tool
- PR_WEEK2_EXERCISE.md

Made-with: Cursor
- Introduced a synthetic dataset generator that allows users to describe a business scenario and generates structured data in CSV or JSON format.
- Added a Gradio interface for user interaction, enabling configuration of scenario, row count, and output format.
- Implemented API integration with OpenRouter and OpenAI for data generation.
- Included technical notes and instructions for local setup in the new notebook and PR description files.
@frank-asket frank-asket closed this by deleting the head repository Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant